<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    @keyframes spin{
        0%{
            transform: rotate(0);
        }
        100%{
            transform: rotate(360deg);
        }
    }
    .spin{
        animation-name: spin;
        animation-timing-function: linear;
        
    }
    .point{
        animation-iteration-count: infinite;
        position: absolute;
    }

    #plate{
        width: 600px;
        height: 600px;
        border: 1px solid blue;
        margin: 0 auto;
        background-image: url(biao.jpg);
        background-position: 50% 50%;
        position: relative;
    }
    #second-point{
        width: 4px;
        height: 240px;
        background-color: red;
        left: 298px;
        top: 80px;
        animation-duration: 60s;
        transform-origin: 50% 91.5%;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        
    }
    #minute{
        height: 200px;
        width: 6px;
        background-color: black;
        left: 298px;
        top: 120px;
        animation-duration: 3600s;
        transform-origin: 50% 90%;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;

    }
    #hour{
        height: 150px;
        width: 8px;
        background-color: #383434;
        left: 296px;
        top: 170px;
        transform-origin: 50% 87%;
        animation-duration: 42800s;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }
    #circle{
         height:17px;
         width: 17px;
         border-radius: 50%;
         background-color: black;
         border: 2px solid red;
         position: absolute;
         left: 291px;
         top: 291px;
    }
    </style>
</head>
<body>
    <div id="plate">
        <div id="second-point" class="spin point"></div>
        <div id="minute" class="spin point"></div>
        <div id="hour" class="spin point"></div>

        <div id="circle"></div>
    </div> 

    <script>
        var now =  new Date();
        var h = now.getHours();
        var m = now.getMinutes();
        var s = now.getSeconds();
        var delay = h*60*60+m*60+s;
        var sp = document.getElementById("second-point");
        var mp = document.getElementById("minute");
        var hp = document.getElementById("hour");
        sp.style.animationDelay = -delay+"s";
        mp.style.animationDelay = -delay+"s";
        hp.style.animationDelay = -delay+"s";
    </script>
</body>


</html>